home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Enlighten DSM 1.1
/
SGI EnlightenDSM 1.1.iso
/
sunos41x
/
events.z
/
events
/
help
/
EventsCli.man
< prev
next >
Wrap
Text File
|
1998-06-30
|
3KB
|
134 lines
EventsCli(8N) Misc. Reference Manual Pages EventsCli(8N)
Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
EventsCli - Command Line Interface for sending alarms to
Pep, SNMP, etc
SYNOPSIS
EventsCli -n name -v measured_value -u units -s severity -t
trap_num -T threshold
DESCRIPTION
EventsCli is a user interface to the Events alarm dispatch-
ing facilities. It can be used to send SNMP traps, notify
Pep, and log an event. These events can be from external
processes that call EventsCli each time a condition warrents
reporting.
The EventsCli is intended to be an interface between your
existing system monitoring programs and scripts. These pro-
grams and scripts can call EventsCli and then rely upon the
SNMP traps, Events data logging, and Pep to take the correc-
tive action you desire.
OPTIONS
-u units
The units value specifys the unit of measure for
the value measured
-v measured_value
The value being reported. This can be any data
type including a short string.
-n name
A brief name, which must be quoted if it contains
white space, could be a test name, or other
descriptive text.
-s severity
Where severity is a number between a low of 1 and
a high of 5.
-t trap_num
Events has twelve general purpose TRAPs for
EventsCli. These are numbered from 500 to 511.
The trap_num you choose can be arbitrary but must
be within the range indicated.
-T threshold
The name of the threshold exceeded. This is a
very short description of what happened i.e. "low
alarm threshold". In real life, any brief text is
acceptable.
EXAMPLE
EventsCli -n DatabaseA -T "high tps" -u "tps" -v 12345 -s 5
-t 501
This might mean: (-c) DatabaseA is doing (-v) 12345 (-u)
SunOS 5.4 Last change: 1
EventsCli(8N) Misc. Reference Manual Pages EventsCli(8N)
tps and has exceeded the (-T) high tps threshold. The event
will be reported with the highest severity level (-s) 5 and
will be sent using trap number (-t) 501
RESTRICTIONS
EventsCli must be invoked on a machine that has AgentMon
running.
SunOS 5.4 Last change: 2